package com.paraz.cst;

/**
 * Request for a process.
 * 
 * @author mparaz
 *
 */
public class CstProcessorRequest {
	private final String request;
	
	/**
	 * Static factory.
	 * 
	 * @param request
	 * @return
	 */
	public static CstProcessorRequest fromString(String request) {
		return new CstProcessorRequest(request);
	}
	
	/**
	 * Private constructor to control instance creation.
	 * 
	 * @param request
	 */
	private CstProcessorRequest(String request) {
		this.request = request;
	}
	
	public String getRequest() {
		return request;
	}
	
	public String toString() {
		return getRequest();
	}
}
